﻿using System.Collections.Generic;

using ARCHFORME.Common;
using ARCHFORME.Core;

namespace Core.Tests
{
    public class QueryProcessorBuilder
    {
        
        public QueryProcessorBuilder Register<T, TResult>(T query, IHandleQueries<T, TResult> handler) where T : IDefineQuery<TResult>
        {
            var registry = new Dictionary<T, IHandleQueries<T, TResult>> { { query, handler } };
            return this;
        }

        public QueryProcessor Build()
        {

            return null;// new QueryProcessor();
        }
    }
}